package com.example.activiti7.domain.model.req;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Map;

@Schema(description = "任务请求对象")
public class TaskReq extends TaskBaseReq {
    @Schema(description = "当前用户ID", required = true,requiredMode = Schema.RequiredMode.REQUIRED)
    private String userId;
    @Schema(description = "用户ID/角色组")
    private String candidate;
    @Schema(description = "流程变量信息")
    private Map<String, Object> variables;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCandidate() {
        return candidate;
    }

    public void setCandidate(String candidate) {
        this.candidate = candidate;
    }

    public Map<String, Object> getVariables() {
        return variables;
    }

    public void setVariables(Map<String, Object> variables) {
        this.variables = variables;
    }
}